#ifndef UTILS_H
#define UTILS_H

#include <string>
#include <utility>
#include <stdio.h>
std::pair<std::string, uint32_t>  ThreadCode(const char *b, const char *e);

// Colorful output for race reports.
#define COLOR_RED "\x1b[31m"
#define COLOR_GREEN "\x1b[32m"
#define COLOR_YELLOW "\x1b[33m"
#define COLOR_BLUE "\x1b[34m"
#define COLOR_CYAN "\x1b[36m"
#define COLOR_RESET "\x1b[0m"

#endif
